package cn.edu.imnu.service.impl;

import cn.edu.imnu.entry.dto.AccountLoginDto;
import cn.edu.imnu.entry.vo.AccountLoginVo;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import cn.edu.imnu.entry.po.Account;
import cn.edu.imnu.service.AccountService;
import cn.edu.imnu.mapper.AccountMapper;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

/**
* @author HY3423
* @description 针对表【account】的数据库操作Service实现
* @createDate 2025-05-28 08:43:38
*/
@Service
public class AccountServiceImpl extends ServiceImpl<AccountMapper, Account>
    implements AccountService{
    @Resource
    AccountMapper accountMapper;

    @Override
    public AccountLoginVo login(AccountLoginDto accountLoginDto) {
        return accountMapper.login(accountLoginDto);
    }
}




